package com.scsj.cloud.authority.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.scsj.cloud.base.rest.RestResponse;
import com.scsj.cloud.base.util.RestUtils;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/scsj/authority/modul")
@Api(value = "常用组件相关")
public class SysModuleController {
	
	@GetMapping(value = "/kunCunDecr")
	@ApiOperation(value = "测试库存量递减", notes = "参数：key decrNum")
	public RestResponse kunCunDecr(@RequestParam String key, @RequestParam long decrNum) {
		
		
		
		
		return RestUtils.returnSuccess(0L);
	}
	
	
	
	
	
	
	
	
	
}
